﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotNetNuke.Tests.UI.WatiN.Common;
using WatiN.Core;

namespace YourCompany.Modules.$safeprojectname$
{
    class ViewPage : WatiNBase
    {
        #region "Constructor"
        /// <summary>
        /// Initializes a new instance of the <see cref="ViewPage"/> class.
        /// </summary>
        /// <param name="watinBase">The watin base.</param>
        public ViewPage(WatiNBase watinBase)
            : base(watinBase.IEInstance, watinBase.SiteUrl)
        {
        }
        #endregion

        #region "Public Properties"
        /// <summary>
        /// Gets the edit icon.
        /// </summary>
        public Link EditIcon
        {
            get { return IEInstance.Link(Find.ByTitle("Edit")); }
        }
        #endregion
    }
}
